<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar showCompany companyType="COMPANY_AAB000_EXACT" 
                    cpTagType="COMPANY_SIMPLE_GROUP" :datas="{formData: form}">
                <ep-button size="small" name="打印"></ep-button>
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
            
            <epl-userMessage dataType="company" idCount="2" :panel="panel" company="">
                <epl-insurance :panel="panel"></epl-insurance>
            </epl-userMessage>
            <el-card class="ep-card">
                <ep-title>请输入单位注销信息</ep-title>
                <el-form :model="form" :rules="rules" ref="form">
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="注销原因" name="aae160" :property="form.aae160" placeholder="请选择注销原因"
                                p="R" codetype="AAE160" SelectFilterData=" aaa102 in ('0090')"></ep-select>
                        <ep-date colspan="8" label="注销日期" name="aae035" :property="form.aae035" placeholder="请选择注销日期" 
                                p="R" format="yyyy-MM-dd" value-format="yyyyMMdd" rules="this.$localRules.DateCheck"></ep-date>
                    </el-row>
                    <el-row>
                        <ep-textarea :rows="3" label="备注" name="aae013" :property="form.aae013"
                                p="E" maxlength="200"></ep-textarea>
                    </el-row>
                    <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" @formValidate="formValidate" :validate="['form']"
                                       :datas="{formData: form,panel:panel }" ref="save"  name="保存" ></ep-saveButton>
                    </el-row>
                </el-form>
            </el-card>
        </el-main>
    </el-main>
</template>


<script src="../js/CpCancelJS.js"></script>
